<template>
  <div class="help-container">
    <div class="coffee-bg"></div>
    <el-card class="coffee-card">
      <div slot="header" class="help-header">帮助中心</div>
      <el-collapse>
        <el-collapse-item title="如何添加新商品？" name="1">
          <div>在"商品管理"页面点击"添加商品"按钮，填写商品信息后点击"确定"即可。</div>
        </el-collapse-item>
        <el-collapse-item title="如何导出订单数据？" name="2">
          <div>在"订单管理"页面点击"导出Excel"按钮即可导出当前筛选的订单数据。</div>
        </el-collapse-item>
        <el-collapse-item title="如何修改密码？" name="3">
          <div>点击右上角头像，进入"个人中心"，点击"修改密码"即可。</div>
        </el-collapse-item>
        <el-collapse-item title="遇到问题如何联系客服？" name="4">
          <div>您可以通过以下方式联系客服：<br>邮箱：support@coffee.com<br>电话：400-123-4567</div>
        </el-collapse-item>
      </el-collapse>
    </el-card>
  </div>
</template>
<script>
export default {
  name: 'HelpCenter'
}
</script>
<style scoped>
.help-container {
  padding: 40px;
  min-height: 100vh;
  background: linear-gradient(135deg, #e7d2ba 0%, #b08968 100%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
.coffee-bg {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
  background: url('https://cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/72x72/2615.png') repeat 0 0/120px auto;
  opacity: 0.06;
}
.coffee-card {
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(80, 60, 40, 0.10);
  border: 1px solid #e0c3a0;
  background: rgba(255, 255, 255, 0.97);
  min-width: 420px;
  max-width: 600px;
  width: 100%;
  z-index: 1;
}
.help-header {
  font-size: 1.6em;
  color: #7c4f22;
  font-family: 'Segoe Script', 'Comic Sans MS', cursive, sans-serif;
  letter-spacing: 2px;
  text-align: center;
  padding: 8px 0;
}
.el-collapse {
  background: transparent;
  border-radius: 12px;
  margin-top: 12px;
}
.el-collapse-item__header {
  color: #a47149;
  font-weight: bold;
  font-size: 1.1em;
  background: #f8f5f2;
  border-radius: 8px 8px 0 0;
  padding-left: 16px;
}
.el-collapse-item__wrap {
  background: #f8f5f2;
  border-radius: 0 0 8px 8px;
}
.el-collapse-item__content {
  color: #7c4f22;
  font-size: 1em;
  padding: 16px;
}
</style> 